//
//  UserDetailCell.m
//  nmrsc
//
//  Created by xumckay on 16/1/12.
//  Copyright © 2016年 bric. All rights reserved.
//

#import "UserDetailCell.h"

@implementation UserDetailCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        _titleLabel=[[UILabel alloc]initWithFrame:CGRectMake(15,22.5-10,100,20)];
        _titleLabel.font=[UIFont systemFontOfSize:15];
        _titleLabel.textColor=COLOR(160, 160, 160, 1);
        [self.contentView addSubview:_titleLabel];
        
        _arrowView=[[UIImageView alloc]initWithFrame:CGRectMake(kDeviceWidth-25,22.5-4.25,8.5,15)];
        [_arrowView setImage:[UIImage imageNamed:@"right-2"]];
        [self.contentView addSubview:_arrowView];
        
        _detailLabel=[[UILabel alloc]initWithFrame:CGRectMake(kDeviceWidth/2-30,22.5-10,kDeviceWidth/2,20)];
        _detailLabel.font=[UIFont systemFontOfSize:15];
        _detailLabel.textColor=COLOR(150, 150, 150, 1);
        _detailLabel.textAlignment=NSTextAlignmentRight;
        _detailLabel.text=@"dgsagsgag";
        [self.contentView addSubview:_detailLabel];
       
        UIView *sep=[[UIView alloc]initWithFrame:CGRectMake(0,44,kDeviceWidth,1)];
        sep.backgroundColor=COLOR(200, 200, 200, 1);
        [self.contentView addSubview:sep];
        
    }
    return self;
}



- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
